#include<iostream>
#include<cstring>
#include<assert.h>
using namespace std;
int  my_strcmp(const char* dest ,const char* src)
{
	assert(dest != NULL && src != NULL);
	while (*dest == *src)
	{
		dest++;
		src++;
	}
	return (*dest - *src);
}
int main()
{
	int ret = my_strcmp("abc", "bbc");
	if(ret>0)
	{
		cout << ">" << endl;
	}
	cout << ret;
}